﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FFF RID: 4095
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournEnterLayerCsReq : IMessage<RogueTournEnterLayerCsReq>, IMessage, IEquatable<RogueTournEnterLayerCsReq>, IDeepCloneable<RogueTournEnterLayerCsReq>, IBufferMessage
	{
		// Token: 0x170033CB RID: 13259
		// (get) Token: 0x0600B72C RID: 46892 RVA: 0x001EE509 File Offset: 0x001EC709
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournEnterLayerCsReq> Parser
		{
			get
			{
				return RogueTournEnterLayerCsReq._parser;
			}
		}

		// Token: 0x170033CC RID: 13260
		// (get) Token: 0x0600B72D RID: 46893 RVA: 0x001EE510 File Offset: 0x001EC710
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournEnterLayerCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170033CD RID: 13261
		// (get) Token: 0x0600B72E RID: 46894 RVA: 0x001EE522 File Offset: 0x001EC722
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournEnterLayerCsReq.Descriptor;
			}
		}

		// Token: 0x0600B72F RID: 46895 RVA: 0x001EE529 File Offset: 0x001EC729
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterLayerCsReq()
		{
		}

		// Token: 0x0600B730 RID: 46896 RVA: 0x001EE531 File Offset: 0x001EC731
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterLayerCsReq(RogueTournEnterLayerCsReq other) : this()
		{
			this.curLevelIndex_ = other.curLevelIndex_;
			this.nextRoomType_ = other.nextRoomType_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B731 RID: 46897 RVA: 0x001EE562 File Offset: 0x001EC762
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterLayerCsReq Clone()
		{
			return new RogueTournEnterLayerCsReq(this);
		}

		// Token: 0x170033CE RID: 13262
		// (get) Token: 0x0600B732 RID: 46898 RVA: 0x001EE56A File Offset: 0x001EC76A
		// (set) Token: 0x0600B733 RID: 46899 RVA: 0x001EE572 File Offset: 0x001EC772
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CurLevelIndex
		{
			get
			{
				return this.curLevelIndex_;
			}
			set
			{
				this.curLevelIndex_ = value;
			}
		}

		// Token: 0x170033CF RID: 13263
		// (get) Token: 0x0600B734 RID: 46900 RVA: 0x001EE57B File Offset: 0x001EC77B
		// (set) Token: 0x0600B735 RID: 46901 RVA: 0x001EE583 File Offset: 0x001EC783
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NextRoomType
		{
			get
			{
				return this.nextRoomType_;
			}
			set
			{
				this.nextRoomType_ = value;
			}
		}

		// Token: 0x0600B736 RID: 46902 RVA: 0x001EE58C File Offset: 0x001EC78C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournEnterLayerCsReq);
		}

		// Token: 0x0600B737 RID: 46903 RVA: 0x001EE59A File Offset: 0x001EC79A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournEnterLayerCsReq other)
		{
			return other != null && (other == this || (this.CurLevelIndex == other.CurLevelIndex && this.NextRoomType == other.NextRoomType && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B738 RID: 46904 RVA: 0x001EE5D8 File Offset: 0x001EC7D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CurLevelIndex != 0U)
			{
				num ^= this.CurLevelIndex.GetHashCode();
			}
			if (this.NextRoomType != 0U)
			{
				num ^= this.NextRoomType.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B739 RID: 46905 RVA: 0x001EE630 File Offset: 0x001EC830
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B73A RID: 46906 RVA: 0x001EE638 File Offset: 0x001EC838
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B73B RID: 46907 RVA: 0x001EE644 File Offset: 0x001EC844
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CurLevelIndex != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.CurLevelIndex);
			}
			if (this.NextRoomType != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.NextRoomType);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B73C RID: 46908 RVA: 0x001EE6A0 File Offset: 0x001EC8A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CurLevelIndex != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CurLevelIndex);
			}
			if (this.NextRoomType != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NextRoomType);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B73D RID: 46909 RVA: 0x001EE6F8 File Offset: 0x001EC8F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournEnterLayerCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CurLevelIndex != 0U)
			{
				this.CurLevelIndex = other.CurLevelIndex;
			}
			if (other.NextRoomType != 0U)
			{
				this.NextRoomType = other.NextRoomType;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B73E RID: 46910 RVA: 0x001EE748 File Offset: 0x001EC948
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B73F RID: 46911 RVA: 0x001EE754 File Offset: 0x001EC954
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.NextRoomType = input.ReadUInt32();
					}
				}
				else
				{
					this.CurLevelIndex = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040049F7 RID: 18935
		private static readonly MessageParser<RogueTournEnterLayerCsReq> _parser = new MessageParser<RogueTournEnterLayerCsReq>(() => new RogueTournEnterLayerCsReq());

		// Token: 0x040049F8 RID: 18936
		private UnknownFieldSet _unknownFields;

		// Token: 0x040049F9 RID: 18937
		public const int CurLevelIndexFieldNumber = 2;

		// Token: 0x040049FA RID: 18938
		private uint curLevelIndex_;

		// Token: 0x040049FB RID: 18939
		public const int NextRoomTypeFieldNumber = 7;

		// Token: 0x040049FC RID: 18940
		private uint nextRoomType_;
	}
}
